package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 轮播图对象 sys_carousel
 * 
 * @author orange
 * @date 2022-04-07
 */
public class SysCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图Id */
    private Long carouselId;

    /** 商品的id */
    @Excel(name = "商品的id")
    private Long goodsId;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String picture;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private Integer isShow;

    public void setCarouselId(Long carouselId) 
    {
        this.carouselId = carouselId;
    }

    public Long getCarouselId() 
    {
        return carouselId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setIsShow(Integer isShow) 
    {
        this.isShow = isShow;
    }

    public Integer getIsShow() 
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carouselId", getCarouselId())
            .append("goodsId", getGoodsId())
            .append("picture", getPicture())
            .append("createTime", getCreateTime())
            .append("isShow", getIsShow())
            .toString();
    }
}
